package com.lc.cehui.http.request;

import com.hjq.http.config.IRequestApi;

public class CarYsApi implements IRequestApi {

    private int userid;
    private int type;//1加；2减
    private int id;//购车id

    public CarYsApi setUserid(int userid) {
        this.userid = userid;
        return this;
    }

    public CarYsApi setType(int type) {
        this.type = type;
        return this;
    }

    public CarYsApi setId(int id) {
        this.id = id;
        return this;
    }

    @Override
    public String getApi() {
        return "api/car_ys";
    }
}
